Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFrame


AcquireUsedShape

The AcquireUsedShape method returns a reference to the used shape of this frame.

ODShape AcquireUsedShape (in ODCanvas biasCanvas);
biasCanvas
kODNULL if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.
return value
A reference to the used shape of this frame, expressed in frame coordinates.
DISCUSSION
The caller must not modify the used shape; only this frame's part can modify the used shape.

This method increments the reference count of the returned shape object. When you have finished using that shape object, you should call its Release method.

SEE ALSO
The ODFrame::ChangeUsedShape method (page 312).
"Responding to an Added Display Frame" on page 110 in OpenDoc Programmer's Guide.
"Used Shape" on page 146 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help